﻿namespace EasyGo.Common.Commands
{
    using System.ComponentModel.DataAnnotations;
    using DataAnnotationsExtensions;

    public class EditUserCommand : CommandBase
    {
        public int Id { get; set; }

        [Required]
        public string FirstName { get; set; }

        [Required]
        public string LastName { get; set; }

        [Email]
        [Required]
        public string Email { get; set; }

        public string Password { get; set; }

        public string PasswordConfirm { get; set; }

        public string Role { get; set; }

        public bool IsAdmin { get; set; }

        public string Description { get; set; }
    }
}
